package com.sptpc.drink.service;

import com.sptpc.drink.pojo.Category;
import com.sptpc.drink.pojo.Drink;

import java.util.List;

public interface DrinkService {
    Drink queryById(Long id);
    //模糊查询
    List<Drink> queryByName(String name);

    List<Drink> queryAll();

    void insert(Drink drink);

    void delete(Long id);

    void update(Drink drink);
}
